Packetery\Module\Options\OptionsProvider B

Total Complexity 89
Dependencies 5
Dependents 42
Total lines 723
Lines of code 327
Logical lines of code 153
Comment lines 251
Methods 50
Properties 4

Methods 50

Method Rating Maintainability Complexity Lines of code
__construct()
A
54 9 22
get_api_key()
S
68 4 7
getLabelFormats()
S
50 1 34
getSanitizedDimensionValueInMm()
S
63 3 10
getCarrierLabelFormat()
S
64 3 10
getStatusSyncingPacketStatuses()
S
60 2 14
isWcCarrierConfigEnabled()
S
68 2 7
isPacketCancellationForced()
S
69 2 7
getOptionsByName()
S
68 2 7
getStatusSyncingOrderStatuses()
S
69 2 7
isFreeShippingShown()
S
69 2 7
arePricesTaxInclusive()
S
69 2 7
getPacketAutoSubmissionMappedUniqueEvents()
S
67 2 8
isOrderStatusChangeAllowed()
S
68 2 7
isPacketAutoSubmissionEnabled()
S
68 2 7
getDefaultWidth()
S
71 2 6
getLabelMaxOffset()
S
69 2 7
shouldWidgetOpenAutomatically()
S
69 2 7
isOrderStatusAutoChangeEnabled()
S
69 2 7
getValidAutoOrderStatusFromMapping()
S
69 2 7
getMaxStatusSyncingPackets()
S
68 2 7
getMaxDaysOfPacketStatusSyncing()
S
68 2 7
getDefaultHeight()
S
71 2 6
getDimensionsNumberOfDecimals()
S
71 2 6
getDefaultLength()
S
71 2 6
getCheckoutWidgetButtonLocation()
S
69 2 7
getCheckoutDetection()
S
69 2 7
getCodPaymentMethods()
S
69 2 7
getDefaultWeight()
S
71 2 6
getExistingStatusSyncingOrderStatuses()
S
72 1 5
get_carrier_label_format()
S
79 1 3
getEmailHook()
S
75 1 4
getAutoOrderStatus()
S
80 1 3
getAutoOrderStatusFromMapping()
S
79 1 3
getAllOptions()
S
68 1 8
has_any()
S
79 1 3
get()
S
79 1 3
get_api_password()
S
80 1 3
get_sender()
S
80 1 3
getPacketaLabelFormats()
S
74 1 4
replaceShippingAddressWithPickupPointAddress()
S
80 1 3
get_packeta_label_format()
S
79 1 3
get_allow_label_emailing()
S
80 1 3
isDefaultDimensionsEnabled()
S
80 1 3
getPacketAutoSubmissionEventForPaymentGateway()
S
78 1 3
getPacketAutoSubmissionPaymentMethodEventsMapping()
S
80 1 3
isDefaultWeightEnabled()
S
80 1 3
getPackagingWeight()
S
80 1 3
getDimensionsUnit()
S
75 1 4
sanitizePaymentGatewayId()
S
79 1 3